package CalendarComponents;

import java.io.Serializable;

/**
 * Class representing the logical unit of a reminder
 * @author Christian G.
 *
 */
public class Reminder implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9078941233008311130L;
	private String type ="";
	private String units ="";
	private int length = 0;
	
	//available types
	public static String TYPE_E_MAIL = "E-mail";
	public static String TYPE_POP_UP = "Pop-Up";
	
	//available units
	public static String UNIT_HOURS = "Hours";
	public static String UNIT_MINUTES = "Minutes";
	public static String UNIT_DAYS = "Days";

	/**
	 * 
	 * @param type the type as a String constant of this class
	 * @param units the units, i.e. 
	 * @param length
	 */
	public Reminder(String type, String units, int length){
		this.type = type;
		this.units = units;
		this.length = length;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUnits() {
		return units;
	}

	public void setUnits(String units) {
		this.units = units;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}
	
}
